package lab02.test15;

public class Graduate implements StudentInterface,TeacherInterface {
    String name;
    String sex;
    int age;
    float fee;
    float pay;
    @Override
    public double setFee() {
        return fee;
    }

    @Override
    public double getFee() {
        return 2*setFee();
    }

    @Override
    public double setPay() {
        return pay;
    }

    @Override
    public double getPay() {
        return 12*setPay();
    }
}
